package com.sxds.wn.security.dto;

import java.util.Date;

import com.sxds.wn.model.BaseObject;

/**
 * Description: <p>用户登陆唯一标识</p>
 * Content Desc:<p>只提供用户名和密码等数据信息<p>
 * Copy Right of Personal Tangtao 2007-2020
 * @author Andy
 * @version 1.0 Create Date:@2008-11-10
 */
public class User extends BaseObject {
	
	/***/
	private static final long serialVersionUID = 19358909L;
	
	private Long userId;
	private String userName;
	private String userPassword;
	private String orgCode;
	private String orgName;
	private Date createTime;
	private Date updateTime;
	
	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the updateTime
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * @param updateTime the updateTime to set
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * 
	 * 默认构造方法
	 */
	public User(){
		
	}

	/**
	 * 
	 *  带参数构造方法
	 */
	public User(String userName,String userPassword){
		this.userName = userName;
		this.userPassword = userPassword;
	}
	
	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

}
